package com.letfox.statistical.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.letfox.statistical.dao.DeviceStatisticDao;
import com.letfox.statistical.model.UDMDeviceStatistic;
import com.letfox.statistical.service.DeviceStatisticService;


@Service
public class DeviceStatisticServiceImpl implements DeviceStatisticService {

	@Autowired
	private DeviceStatisticDao deviceStatisticDao;
	
	

	public int save(UDMDeviceStatistic deviceStatistic) {
		
		return deviceStatisticDao.insert(deviceStatistic);
	}


	public int update(UDMDeviceStatistic deviceStatistic) {
		
		return deviceStatisticDao.update(deviceStatistic);
	}

	
	public int deleteById(Long id) {
		
		return 0;
	}

	
	public int deleteByIds(String ids) {
		
		return 0;
	}

	
	public UDMDeviceStatistic getById(Long id) {
		
		return null;
	}

	
	public List<UDMDeviceStatistic> getList(Map<String,Object> map) {
		
		return deviceStatisticDao.getList(map);
	}

}
